<?php

namespace Database\Factories;


use App\Models\WechatNewsCategory;
use Illuminate\Database\Eloquent\Factories\Factory;


class WechatNewsCategoryFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = WechatNewsCategory::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'cate_name' => $this->faker->text(15),
            'sort' => $this->faker->numberBetween(1, 999),
            'news_id' => $this->faker->numberBetween(1, 999),
            'cate_image' => $this->faker->randomElement([
                'a.png',
                'c.jpg',
                'b.png'
            ]),
            'status' => $this->faker->randomElement([0, 1]),
        ];
    }
}
